package com.loan.system.service;

import com.loan.common.core.domain.PageQuery;
import com.loan.common.core.page.TableDataInfo;
import com.loan.system.domain.ApplyProductEntity;

import java.util.List;

/**
 * @author shiguang on 2022/9/7 15:24
 */
public interface ApplyProductService {

    TableDataInfo<ApplyProductEntity> selectPageList(ApplyProductEntity entity, PageQuery pageQuery);

    int addApplyProduct(ApplyProductEntity entity);

    int updateApplyProduct(ApplyProductEntity entity);

    int deleteApplyProductById(Long id);

    int updateStatus(ApplyProductEntity entity);

    ApplyProductEntity selectApplyProductById(Long id);

    List<ApplyProductEntity> selectList();
}
